//
//  PKImage.h
//  pkphotomap
//
//  Created by Ed Mancebo on 3/23/11.
//  Copyright 2011 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

@interface PKImage : NSObject {

	// flickr meta data
	NSString *imageId;
	NSString *farm;
	NSString *server;
	NSString *secret;
	
	CLLocationCoordinate2D coord;
	BOOL isInfoLoaded;
	UIImage *thumbImage;
	UIImage *medImage;
	
	// other info fields
	NSString *title;
	NSString *username;
}

@property (readonly) NSString *imageId;
@property (nonatomic, retain) NSString *farm;
@property (nonatomic, retain) NSString *server;
@property (nonatomic, retain) NSString *secret;
@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) NSString *username;

@property (nonatomic, assign) CLLocationCoordinate2D coord;

- (UIImage*) getThumbImage;
- (UIImage*) getMedImage;

- (void)loadInfo;

- (id) initWithImageId:(NSString*)imgid;

@end
